package com.syxp.pda.service.detail.impl;

import java.io.OutputStream;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.syxp.pda.core.command.QueryFilter;
import com.syxp.pda.core.web.PagingBean;
import com.syxp.pda.dao.detail.CheckPlanDetailDao;
import com.syxp.pda.entity.detail.CheckPlanDetail;
import com.syxp.pda.service.detail.PlanDetailService;

@Transactional
public class PlanDetailServiceImpl implements
		PlanDetailService {

	private CheckPlanDetailDao checkPlanDetailDao;

	public CheckPlanDetailDao getCheckPlanDetailDao() {
		return checkPlanDetailDao;
	}

	public void setCheckPlanDetailDao(CheckPlanDetailDao checkPlanDetailDao) {
		this.checkPlanDetailDao = checkPlanDetailDao;
	}

	public List<CheckPlanDetail> selectByQueryFilter(QueryFilter queryFilter) {
		return checkPlanDetailDao.getAll(queryFilter, "dutyAll") ;
	}
	
	public List<CheckPlanDetail> selectByAll() {
		return checkPlanDetailDao.getAll("dutyAll") ;
	}
	
	public List<CheckPlanDetail> selectByAll(PagingBean pagingBean) {
		return checkPlanDetailDao.getAll(pagingBean, "dutyAll") ;
	}

	public OutputStream exportXls() {
		return null ;
	}
	
}
